package com.xjve.pojo;

import com.xjve.framework.hibernate.jpa.BaseSearch;
import com.xjve.framework.hibernate.jpa.SearchField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class StudentSearch extends BaseSearch<Student> {
    @Override
    protected Class<Student> getEntityClass() {
        return Student.class;
    }

    public String name_fuzzy;

    public Integer age;

    @SearchField("school.name")
    public String schoolName_fuzzy;
}
